home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / modelers / geomview / source.lha / Geomview / include / mgrib.h < prev    next >
Text File  |  1993-08-03  |  2KB  |  45 lines

  1. /*
  2.  * MG context attributes specific to Renderman rib driver (mgrib)
  3.  *
  4.  */
  5.  
  6. #define   MG_RIBWINID        300 /* token: int */
  7. #define   MG_RIBBORN        301 /* token: int (boolean) */
  8. #define   MG_RIBFILE        302 /* token: FILE* */
  9.  
  10. #define   MG_RIBLINEMODE    303 /* token: int */
  11. #define   MG_RIBPOLYGON        304 /* possible value for MG_RIBLINEMODE */
  12. #define   MG_RIBCYLINDER    305 /* possible value for MG_RIBLINEMODE */
  13. #define   MG_RIBPRMANLINE    306 /* possible value for MG_RIBLINEMODE */
  14.  
  15. #define   MG_RIBFORMAT        307 /* token: int */
  16. #define   MG_RIBASCII        308 /* possible value for MG_RIBFORMAT */
  17. #define   MG_RIBBINARY        309 /* possible value for MG_RIBFORMAT */
  18.  
  19. #define   MG_RIBFILEPATH    310 /* token: char* */
  20.  
  21. #define   MG_RIBDISPLAY        311 /* token: int */
  22. #define   MG_RIBTIFF        312 /* possible value for MG_RIBDISPLAY */
  23. #define   MG_RIBFRAME        313 /* possible value for MG_RIBDISPLAY */
  24.  
  25. #define   MG_RIBDISPLAYNAME    314 /* token: char* */
  26.  
  27. #define   MG_RIBBACKING        315 /* token: int */
  28. #define   MG_RIBDOBG        316 /* possible value for MG_RIBBACKING */
  29. #define   MG_RIBNOBG        317 /* possible value for MG_RIBBACKING */
  30.  
  31. #define   MG_RIBSHADER        318 /* token: int */
  32. #define   MG_RIBSTDSHADE    319 /* possible value for MG_RIBSHADER */
  33. #define   MG_RIBEXTSHADE    320 /* possible value for MG_RIBSHADER */
  34.  
  35. #define   MG_RIBSCENE        321 /* RIB 1.0: scene name: char* */
  36. #define   MG_RIBCREATOR        322 /* RIB 1.0: creator:    char* */
  37. #define   MG_RIBFOR        323 /* RIB 1.0: user:       char* */
  38. #define   MG_RIBDATE        324 /* RIB 1.0: date:       char* */
  39.  
  40. /* following are functions wich need to be accessed by main program */
  41. void mgrib_flushbuffer();     /* flushes tokens from buffer to file */
  42. void mgrib_terminatebuffer(); /* NULL terminates the tokenbuffer:   */
  43. void mgrib_tokenbuffer(char **buffer, int *size);
  44.                   /* returns via indirection buffer & size */
  45.